package com.dlwx.parttimetalent.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/12/13.
 */

public class WorksBean {

    /**
     * code : 200
     * result : 工作经历获取成功
     * body : [{"start":"2016-05","end":"2017-05","job_info":"北京智能奇点科技有限公司","jobid":1}]
     */

    private int code;
    private String result;
    private List<BodyBean> body;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public List<BodyBean> getBody() {
        return body;
    }

    public void setBody(List<BodyBean> body) {
        this.body = body;
    }

    public static class BodyBean implements MultiItemEntity {
        /**
         * start : 2016-05
         * end : 2017-05
         * job_info : 北京智能奇点科技有限公司
         * jobid : 1
         */

        private String start;
        private String end;
        private String job_info;
        private int jobid;
        private int type;

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getStart() {
            return start;
        }

        public void setStart(String start) {
            this.start = start;
        }

        public String getEnd() {
            return end;
        }

        public void setEnd(String end) {
            this.end = end;
        }

        public String getJob_info() {
            return job_info;
        }

        public void setJob_info(String job_info) {
            this.job_info = job_info;
        }

        public int getJobid() {
            return jobid;
        }

        public void setJobid(int jobid) {
            this.jobid = jobid;
        }

        @Override
        public int getItemType() {
            return type;
        }
    }
}
